import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/switch-inline'
    },
    {
      path: '/switch-inline',
      name: 'switch-inline',
      component: () => import('./switch-inline'),
    },
    {
      path: '/dropdown',
      name: 'dropdown',
      component: () => import('./dropdown'),
    },
    {
      path: '/cascader',
      name: 'cascader',
      component: () => import('./cascader'),
    },
  ]
});
